//
//  Stage.h
//  airfight
//
//  Created by aaron more on 12-9-12.
//  Copyright (c) 2012年 moonriver. All rights reserved.
//

#ifndef airfight_Stage_h
#define airfight_Stage_h

#include "cocos2d.h"
#include "Background.h"
#include "StageEnemy.h"

USING_NS_CC;

class Stage: public CCObject
{
    
    CC_SYNTHESIZE(int,m_stageID,StageID); //id
    CC_SYNTHESIZE(std::string,m_name,Name); //场景名称
    CC_SYNTHESIZE(int,m_distance,Distance); //场景距离
    CC_SYNTHESIZE_RETAIN(Background*,m_front,FrontBackground);
    CC_SYNTHESIZE_RETAIN(Background*,m_rear,RearBackground);
    
protected:
    CCDictionary* enemy_Dict; 
public:
    Stage();
    ~Stage();
    virtual CCArray* getStartEnemyIDs(int p_start);
    virtual void addStartEnemyID(StageEnemy *p_enemy);
    CCArray* getAllStageEnemies();
};
#endif
